253 Apache prior 2.0.49 cygwin directory traversal HTTP 2004/09/21 Marc Ruef marc dot ruef at computec dot ch http://www.computec.ch computec.ch Marc Ruef marc dot ruef at computec dot ch http://www.computec.ch computec.ch 2004/11/14 2.0 Corrected the plugin structure and added the accuracy values in 2.0; Also corrected the exploiting routine to be more accurate. tcp 80 open|send HEAD / HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/1.[0-1] ### *Server: Apache/[0-1].* OR HTTP/1.[0-1] ### *Server: Apache/2.0.[0-3]* OR HTTP/1.[0-1] ### *Server: Apache/2.0.4[0-8]* open|send GET /%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5cboot.ini HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/1.[0-1] 200 * 80 99 This plugin was written with the ATK Attack Editor. Jeremy Bae swbae at stgsecurity dot com http://www.stgsecurity.com STG Security 2004/02/24 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26152 Apache Software Foundation apache at apache dot org http://httpd.apache.org Apache prior 2.0.49 Apache 2.0.49 and newer or other solutions Directory Traversal The remote host is running an Apache web server. A vulnerability has been discovered in the Apache web server prior 2.0.49 if it is used within a cygwin environment. An attacker may be able to reach files outside the web server directory by using a directory traversal attack with encoded special characters. If the web server is not used it should be de-installed or de-activated. Install the newest patch or bugfix to solve the problem or upgrade to the latest software version which is not vulnerable anymore. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Alternation of the application banner can confuse an attacker and let him determine the wrong software. Additionally limit unwanted connections and communications with firewalling. Approx. 2 hours Yes http://www.securityfocus.com/bid/9874/exploit/ Yes Yes High 8 8 8 8 Most CGI scanners are able to detect such a flaw (e.g. N-Stealth). 9874 Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427 http://www.securityfocus.com/archive/1/355013